package com.ztc.ZtcClassesForSale.bean;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;
import com.ztc.ZtcClasses.bean.ZtcClasses;
import com.ztc.ZtcClassesPriceForSale.bean.ZtcClassesPriceForSale;
import com.ztc.ZtcClassesSiteForSale.bean.ZtcClassesSiteForSale;
@Entity
@Table(name = "ztc_classes_for_sale")
public class ZtcClassesForSale implements BaseEntity{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;//

    private String name;//å��ç§°

    private String remark;//å¤‡æ³¨

    private java.lang.Integer status;//çŠ¶æ€�ï¼š0.å·²ä¸Šçº¿ï¼Œ1.å·²å�‘è½¦ï¼Œ2.å·²å®Œæˆ�

    private java.lang.Integer ticketStatus;//çŠ¶æ€�ï¼š0.åœ¨å”®1.å�œå”®
    
    private java.lang.Integer isDisplayPictures;

    private java.lang.Integer isRefund;//æ˜¯å�¦é€€ç¥¨ï¼š0.å�¯é€€1.ä¸�å�¯é€€
    
    private java.lang.Integer carType;

    private java.util.Date departureDate;//å�‘è½¦æ—¶é—´

    private java.util.Date addTime;//æ·»åŠ æ—¶é—´

    private java.util.Date modifyTime;//ä¿®æ”¹æ—¶é—´
    
    private java.lang.Integer childSeatNumber;

    private java.lang.Integer seatNumber;
    
    private String fkAddUserId;

    private String fkModifyUserId;//ä¿®æ”¹è¯¥åœ¨å”®ç�­æ¬¡çš„ç”¨æˆ·id

    private String fkZtcCarId;//æ­¤åœ¨å”®ç�­æ¬¡æ‰€ç”¨è½¦è¾†id

    private String fkZtcDriverId;//æ­¤åœ¨å”®ç�­æ¬¡æ‰€ç”¨å�¸æœºid

    private String fkZtcClassesId;//æ­¤åœ¨å”®ç�­æ¬¡åŽŸå§‹ç�­æ¬¡id
    
    private String fkTransportId;

    private Integer type;

    private java.lang.Integer remainChildSeatNumber;
    
    private java.lang.Integer remainSeatNumber;
    
    private java.lang.Integer ticketNumber;
    
    private String forbidSaleTimeRegionBeforeDeparture;
    
    private ZtcClasses ztcClasses;
    
    private List<ZtcClassesPriceForSale> ztcClassesPricesForSale;
    
    private List<ZtcClassesSiteForSale> ztcClassesSitesForSale;

    public void setType(Integer type) {
        this.type = type;
    }
    public void setId(String value){
        this.id = value;
    }
    public void setName(String value){
        this.name = value;
    }
    public void setRemark(String value){
        this.remark = value;
    }
    public void setStatus(java.lang.Integer value){
        this.status = value;
    }
    public void setTicketStatus(java.lang.Integer value){
        this.ticketStatus = value;
    }
    public void setIsRefund(java.lang.Integer value){
        this.isRefund = value;
    }
    public void setDepartureDate(java.util.Date value){
        this.departureDate = value;
    }
    public void setAddTime(java.util.Date value){
        this.addTime = value;
    }
    public void setModifyTime(java.util.Date value){
        this.modifyTime = value;
    }
    public void setFkModifyUserId(String value){
        this.fkModifyUserId = value;
    }
    public void setFkZtcCarId(String value){
        this.fkZtcCarId = value;
    }
    public void setFkZtcDriverId(String value){
        this.fkZtcDriverId = value;
    }
    public void setFkZtcClassesId(String value){
        this.fkZtcClassesId = value;
    }
	public void setFkAddUserId(String fkAddUserId) {
		this.fkAddUserId = fkAddUserId;
	}
	public void setZtcClasses(ZtcClasses ztcClasses) {
		this.ztcClasses = ztcClasses;
	}
	public void setZtcClassesPricesForSale(List<ZtcClassesPriceForSale> ztcClassesPricesForSale) {
		this.ztcClassesPricesForSale = ztcClassesPricesForSale;
	}
	public void setZtcClassesSitesForSale(List<ZtcClassesSiteForSale> ztcClassesSitesForSale) {
		this.ztcClassesSitesForSale = ztcClassesSitesForSale;
	}
	public void setChildSeatNumber(java.lang.Integer childSeatNumber) {
		this.childSeatNumber = childSeatNumber;
	}
    public void setSeatNumber(java.lang.Integer seatNumber) {
        this.seatNumber = seatNumber;
    }
	public void setCarType(java.lang.Integer carType) {
		this.carType = carType;
	}
	public void setRemainChildSeatNumber(java.lang.Integer remainChildSeatNumber) {
		this.remainChildSeatNumber = remainChildSeatNumber;
	}
	public void setRemainSeatNumber(java.lang.Integer remainSeatNumber) {
		this.remainSeatNumber = remainSeatNumber;
	}
	public void setTicketNumber(java.lang.Integer ticketNumber) {
		this.ticketNumber = ticketNumber;
	}
	public void setIsDisplayPictures(java.lang.Integer isDisplayPictures) {
		this.isDisplayPictures = isDisplayPictures;
	}
	public void setFkTransportId(String fkTransportId) {
		this.fkTransportId = fkTransportId;
	}
	public void setForbidSaleTimeRegionBeforeDeparture(String forbidSaleTimeRegionBeforeDeparture) {
		this.forbidSaleTimeRegionBeforeDeparture = forbidSaleTimeRegionBeforeDeparture;
	}
	@Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name ="id",unique=false,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="name",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getName(){
        return this.name;
    }
    @Column(name ="remark",unique=false,nullable=true,insertable=true,updatable=true,length=2147483647)
    public String getRemark(){
        return this.remark;
    }
    @Column(name ="type",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public Integer getType() {return type;}
    @Column(name ="status",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getStatus(){
        return this.status;
    }
    @Column(name ="is_display_pictures",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getIsDisplayPictures() {
		return isDisplayPictures;
	}
    @Column(name ="ticket_status",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getTicketStatus(){
        return this.ticketStatus;
    }
    @Column(name ="is_refund",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getIsRefund(){
        return this.isRefund;
    }
    @Column(name ="car_type",unique=false,nullable=true,insertable=true,updatable=true,length=4)
	public java.lang.Integer getCarType() {
		return carType;
	}
    @Column(name ="child_seat_number",unique=false,nullable=true,insertable=true,updatable=true,length=4)
	public java.lang.Integer getChildSeatNumber() {
		return childSeatNumber;
	}
    @Column(name ="seat_number",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getSeatNumber() {
        return seatNumber;
    }
    @Column(name ="departure_date",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getDepartureDate(){
        return this.departureDate;
    }
    @Column(name ="add_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getAddTime(){
        return this.addTime;
    }
    @Column(name ="modify_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getModifyTime(){
        return this.modifyTime;
    }
    @Column(name ="fk_modify_user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkModifyUserId(){
        return this.fkModifyUserId;
    }
    @Column(name ="fk_add_user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkAddUserId() {
		return fkAddUserId;
	}
    @Column(name ="fk_ztc_car_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkZtcCarId(){
        return this.fkZtcCarId;
    }
    @Column(name ="fk_ztc_driver_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkZtcDriverId(){
        return this.fkZtcDriverId;
    }
    @Column(name ="fk_ztc_classes_id",unique=false,nullable=false,insertable=true,updatable=true,length=32)
    public String getFkZtcClassesId(){
        return this.fkZtcClassesId;
    }
    @Column(name ="fk_transport_id",unique=false,nullable=false,insertable=true,updatable=true,length=32)
	public String getFkTransportId() {
		return fkTransportId;
	}
    @Column(name ="forbid_sale_time_region_before_departure",unique=false,nullable=true,insertable=true,updatable=true,length=10)
   	public String getForbidSaleTimeRegionBeforeDeparture() {
   		return forbidSaleTimeRegionBeforeDeparture;
   	}
	@Transient
	public ZtcClasses getZtcClasses() {
		return ztcClasses;
	}
    @Transient
	public List<ZtcClassesPriceForSale> getZtcClassesPricesForSale() {
		return ztcClassesPricesForSale;
	}
    @Transient
	public List<ZtcClassesSiteForSale> getZtcClassesSitesForSale() {
		return ztcClassesSitesForSale;
	}   
    @Transient
    public java.lang.Integer getRemainChildSeatNumber() {
		return remainChildSeatNumber;
	}
    @Transient
    public java.lang.Integer getRemainSeatNumber() {
		return remainSeatNumber;
	}
    @Transient
    public java.lang.Integer getTicketNumber() {
		return ticketNumber;
	}
} 
